package com.example.saifly.ReceiverAndService;

import android.app.IntentService;
import android.content.Intent;

import androidx.annotation.Nullable;

public class EvaluationService extends IntentService {
    /**
     * Creates an IntentService.  Invoked by your subclass's constructor.
     *
     * @param name Used to name the worker thread, important only for debugging.
     */
    public EvaluationService(String name) {
        super(name);
    }

    //任务完成自动停止服务
    @Override
    protected void onHandleIntent(@Nullable Intent intent) {
        //跑后台服务

    }
}
